﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F7D RID: 3965
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicStartScRsp : IMessage<RogueMagicStartScRsp>, IMessage, IEquatable<RogueMagicStartScRsp>, IDeepCloneable<RogueMagicStartScRsp>, IBufferMessage
	{
		// Token: 0x17003245 RID: 12869
		// (get) Token: 0x0600B1A2 RID: 45474 RVA: 0x001E024F File Offset: 0x001DE44F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicStartScRsp> Parser
		{
			get
			{
				return RogueMagicStartScRsp._parser;
			}
		}

		// Token: 0x17003246 RID: 12870
		// (get) Token: 0x0600B1A3 RID: 45475 RVA: 0x001E0256 File Offset: 0x001DE456
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicStartScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003247 RID: 12871
		// (get) Token: 0x0600B1A4 RID: 45476 RVA: 0x001E0268 File Offset: 0x001DE468
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicStartScRsp.Descriptor;
			}
		}

		// Token: 0x0600B1A5 RID: 45477 RVA: 0x001E026F File Offset: 0x001DE46F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicStartScRsp()
		{
		}

		// Token: 0x0600B1A6 RID: 45478 RVA: 0x001E0278 File Offset: 0x001DE478
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicStartScRsp(RogueMagicStartScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this.rogueTournCurInfo_ = ((other.rogueTournCurInfo_ != null) ? other.rogueTournCurInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B1A7 RID: 45479 RVA: 0x001E02E0 File Offset: 0x001DE4E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicStartScRsp Clone()
		{
			return new RogueMagicStartScRsp(this);
		}

		// Token: 0x17003248 RID: 12872
		// (get) Token: 0x0600B1A8 RID: 45480 RVA: 0x001E02E8 File Offset: 0x001DE4E8
		// (set) Token: 0x0600B1A9 RID: 45481 RVA: 0x001E02F0 File Offset: 0x001DE4F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003249 RID: 12873
		// (get) Token: 0x0600B1AA RID: 45482 RVA: 0x001E02F9 File Offset: 0x001DE4F9
		// (set) Token: 0x0600B1AB RID: 45483 RVA: 0x001E0301 File Offset: 0x001DE501
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicCurSceneInfo RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x1700324A RID: 12874
		// (get) Token: 0x0600B1AC RID: 45484 RVA: 0x001E030A File Offset: 0x001DE50A
		// (set) Token: 0x0600B1AD RID: 45485 RVA: 0x001E0312 File Offset: 0x001DE512
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicCurInfo RogueTournCurInfo
		{
			get
			{
				return this.rogueTournCurInfo_;
			}
			set
			{
				this.rogueTournCurInfo_ = value;
			}
		}

		// Token: 0x0600B1AE RID: 45486 RVA: 0x001E031B File Offset: 0x001DE51B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicStartScRsp);
		}

		// Token: 0x0600B1AF RID: 45487 RVA: 0x001E032C File Offset: 0x001DE52C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicStartScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && object.Equals(this.RogueTournCurInfo, other.RogueTournCurInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B1B0 RID: 45488 RVA: 0x001E0390 File Offset: 0x001DE590
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this.rogueTournCurInfo_ != null)
			{
				num ^= this.RogueTournCurInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B1B1 RID: 45489 RVA: 0x001E03FB File Offset: 0x001DE5FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B1B2 RID: 45490 RVA: 0x001E0403 File Offset: 0x001DE603
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B1B3 RID: 45491 RVA: 0x001E040C File Offset: 0x001DE60C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this.rogueTournCurInfo_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.RogueTournCurInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B1B4 RID: 45492 RVA: 0x001E0484 File Offset: 0x001DE684
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this.rogueTournCurInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B1B5 RID: 45493 RVA: 0x001E04F4 File Offset: 0x001DE6F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicStartScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new RogueMagicCurSceneInfo();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			if (other.rogueTournCurInfo_ != null)
			{
				if (this.rogueTournCurInfo_ == null)
				{
					this.RogueTournCurInfo = new RogueMagicCurInfo();
				}
				this.RogueTournCurInfo.MergeFrom(other.RogueTournCurInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B1B6 RID: 45494 RVA: 0x001E0588 File Offset: 0x001DE788
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B1B7 RID: 45495 RVA: 0x001E0594 File Offset: 0x001DE794
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					if (num != 72U)
					{
						if (num != 114U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.rogueTournCurInfo_ == null)
							{
								this.RogueTournCurInfo = new RogueMagicCurInfo();
							}
							input.ReadMessage(this.RogueTournCurInfo);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.rogueTournCurSceneInfo_ == null)
					{
						this.RogueTournCurSceneInfo = new RogueMagicCurSceneInfo();
					}
					input.ReadMessage(this.RogueTournCurSceneInfo);
				}
			}
		}

		// Token: 0x040047E9 RID: 18409
		private static readonly MessageParser<RogueMagicStartScRsp> _parser = new MessageParser<RogueMagicStartScRsp>(() => new RogueMagicStartScRsp());

		// Token: 0x040047EA RID: 18410
		private UnknownFieldSet _unknownFields;

		// Token: 0x040047EB RID: 18411
		public const int RetcodeFieldNumber = 9;

		// Token: 0x040047EC RID: 18412
		private uint retcode_;

		// Token: 0x040047ED RID: 18413
		public const int RogueTournCurSceneInfoFieldNumber = 8;

		// Token: 0x040047EE RID: 18414
		private RogueMagicCurSceneInfo rogueTournCurSceneInfo_;

		// Token: 0x040047EF RID: 18415
		public const int RogueTournCurInfoFieldNumber = 14;

		// Token: 0x040047F0 RID: 18416
		private RogueMagicCurInfo rogueTournCurInfo_;
	}
}
